package net.jumpengine.bean;

import javafx.scene.image.Image;

/**
  * 轮播图片
 * <br /><br />
 * <b>作者:&nbsp;</b>张天文 <br />
 * <b>日期:&nbsp;</b>2021年1月5日 下午3:46:26<br />
 * @date
 */
public class ImageCarousel extends ImageBase {
	protected int max,num=0,unitWidth,unitHeight;

	public ImageCarousel(int x, int y, Image image) {
		this(x, y,(int)image.getWidth(),(int)image.getHeight(),0, image);
	}

	public ImageCarousel(int x, int y, int index, Image image) {
		this(x, y,(int)image.getWidth(),(int)image.getHeight(),index, image);
	}

	public ImageCarousel(int x, int y, int width, int height, Image image) {
		this(x, y, width, height,0, image);
	}
	
	public ImageCarousel(int x, int y, int width, int height, int index, Image image) {
		super(x, y, width, height, index, image);
	}

	public ImageCarousel(int x, int y, int width, int height, int index, Image image, int num, int cwidth,int cheight) {
		super(x, y, width, height, index, image);
		this.num=num;
		this.cwidth=cwidth;
		this.cheight=cheight;
		math();
	}

	private void math() {
		
	}

}
